package c.e.a.b.b.h;

import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import android.util.Log;
import b.i.b.f;
import c.e.a.b.b.h.b.h;
import c.e.a.b.e.b.b;
import c.e.a.b.e.b.c;
import com.google.android.gms.common.internal.zzb;
import java.util.Objects;

public interface e extends IInterface {

    public static abstract class a extends b implements e {
        public a() {
            super("com.google.android.gms.common.internal.IGmsCallbacks");
        }

        public final boolean y0(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
            if (i == 1) {
                ((h) this).J0(parcel.readInt(), parcel.readStrongBinder(), (Bundle) c.a(parcel, Bundle.CREATOR));
            } else if (i == 2) {
                parcel.readInt();
                Bundle bundle = (Bundle) c.a(parcel, Bundle.CREATOR);
                Log.wtf("GmsClient", "received deprecated onAccountValidationComplete callback, ignoring", new Exception());
            } else if (i != 3) {
                return false;
            } else {
                i = parcel.readInt();
                IBinder readStrongBinder = parcel.readStrongBinder();
                zzb zzb = (zzb) c.a(parcel, zzb.CREATOR);
                h hVar = (h) this;
                f.S(hVar.a, "onPostInitCompleteWithConnectionInfo can be called only once per call togetRemoteService");
                Objects.requireNonNull(zzb, "null reference");
                Objects.requireNonNull(hVar.a);
                hVar.J0(i, readStrongBinder, zzb.a);
            }
            parcel2.writeNoException();
            return true;
        }
    }
}
